/**
 * Created by 小敏哥 on 2017/12/12.
 */
import { CONFIRM_STATUS} from "../actions/actionsTypes"

export default function orderListReducer(state = {confirmStatus:{acceptStatus:0,acceptRemark:''}}, action) {
    switch (action.type) {
        case CONFIRM_STATUS:
            return Object.assign({}, state, {confirmStatus: action.data});
        default:
            return state;
    }
}
